<template>
    <div>
      跳转页面
      <router-link to="/activity">
        <button class="btn btn-default">点击跳转</button>
      </router-link>
      <button @click="func">进行js跳转页面</button>
    </div>
</template>

<script>
    export default {
        name: "jump",
      methods:{
        func (){
          // this.$router.push({path: ''/order/index''});
          // this.$router.push({path: '/order/page1',query:{ id:'2'}});//拼接路径
        }
      }
    }
</script>

<style scoped>

</style>
